package com.yike.user.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 代理商提现申请表
 *
 * @author Sakura
 * @since 2024-09-23
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "绑定银行账号参数")
public class BindingBankParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("类型：1支付宝账号")
    @NotNull(message = "类型不能为空")
    private Integer type;

    @ApiModelProperty("账号")
    @NotBlank(message = "账号不能为空")
    private String account;

    @ApiModelProperty("用户姓名（真实）")
    @NotBlank(message = "用户姓名（真实）不能为空")
    private String userName;

}
